<?php

namespace App\Requests\Api\Users;

use Illuminate\Foundation\Http\FormRequest;

/**
 * 客户端用户详情检测
 * Class UpdateRequest
 * @package App\Requests\Api\Users
 */
class ClientInfoRequest extends FormRequest {
    public function authorize()
    {
        return true;
    }

    public function rules()
    {
        return [
            'openid'    => 'required|string',
        ];
    }

    public function messages()
    {
        return [
            'openid.required'    => 'openid required',
        ];
    }
}